package entity;

import org.apache.ibatis.type.Alias;

import java.util.Date;
@Alias("Card")
public class Card implements java.io.Serializable{
    private Integer id;//门禁卡编号
    private String userName;//持卡人姓名
    private String idNumber;//持卡人身份证号
    private Integer status;//启用状态
    private String createDate;//办卡日期

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    @Override
    public String toString() {
        return "Card{" +
                "id=" + id +
                ", userName='" + userName + '\'' +
                ", idNumber='" + idNumber + '\'' +
                ", status=" + status +
                ", createDate=" + createDate +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

}
